<?php
include "./lian.php";
$id1 = $_GET['id'];
//根据id删除数据
$sql = "DELETE  FROM `che` WHERE `id`='$id1'";
$result = mysqli_query($link,$sql);
if($result){
	echo json_encode(array("code"=>1));
}else{
	echo json_encode(array("code"=>0));
}
mysqli_close($link);
?>